package gui;

import java.awt.Graphics;

/**
 * 
 * @author Oscar
 *	A interface used by the animated images in the game.
 */
public interface AnimationInterface {
	/**
	 * Updates the image or the image position to the next frame in the
	 * animation serie.
	 */
	public void nextFrame();
	
	/**
	 * Paints the component.
	 */
	public void paintComponent(Graphics g);
	
	/**
	 * Sends true if the animation is done, otherwise false.
	 * @return
	 */
	public boolean wantsToBeRemoved();
}
